<?php
header('content-type:text/html;charset=utf-8');

//echo disk_free_space('d:')/pow(1024,3).'G';
//echo disk_total_space('d:')/pow(1024,3).'G';


//$file = 'D:\phpStudy\WWW\0602\mulu1\yi\er\san\si';

//$file = 'd:phpStudy/php';
//echo basename($file,'.png');
//获得路径
//echo dirname($file);
//echo '<pre>';
//var_dump($file);
//echo '</pre>';
//检查文件或目录是否存在
//echo file_exists($file);

//判断是否为目录
//echo is_dir('0602');

//创建一个目录

//mkdir('fuck');

//删除文件
//echo rmdir('fuck');
//重命名文件
//rename('hd','fuck');

//复制文件
//$re = dirname('mulu');
//copy('hd1234.php',$re);
//echo $re;
//echo dirname($file);
//$re = glob('mulu/yi/*');
//
//echo '<pre>';
//print_r($re);
//echo '</pre>';

//rename('fuck','hd');

//file('');
//mkdir('mulu1/yi/er/san/si','07777',true);
//copy('hd1234.php','mulu/yi/er/san/4.php');
//$re = array();
//
//$re = file('mulu/yi/1.php');
//echo '<pre>';
//print_r($re);
//echo '</pre>';
//$config = include 'functions.php';

